<!-- 
@author wsq
@date  2016-11-13 
@搜索不到数据时 展示的内容 调用父级组件传过来的方法
-->
<template>
	<div class='c_earchError'>
	    <p>{{txt}}</p>
	    <a v-on:click='aclick($event)' >{{linkCon}}</a>
    </div>
</template>
<script>
	export default{
    name:'searchError',
		props:['txt','link','linkCon','fnLink'],
    methods:{
      aclick:function(event){
          event.preventDefault();
          this.fnLink()
      }
    }
	}
</script>
<style>
.c_earchError{
  position: fixed;
  width: 100%;
  text-align: center;
  top:3.466667rem;
}
.c_earchError p{
  font-size: 0.426667rem;color: #9b9b9b;
}
.c_earchError a{
  display: block;
  text-decoration: none;
  margin-top:0.32rem;
  color: #4a90e2;
  font-size: 0.426667rem;
}
</style>